package com.jnu.keepaccounts.data;

import java.io.Serializable;

public class Data implements Serializable {
    private int flag;//2为tou，1为条目,3为转账
    private int year;
    private int month;
    private int day;
    private long date;
    public Data(){}
    public Data(int x,int year,int month,int day,long date){
        flag = x;
        this.year = year;
        this.month = month;
        this.day = day;
        this.date = date;
    }
    public int getFlag(){
        return flag;
    }
    public int getDay(){
        return day;
    }
    public int getYear(){return year;}
    public int getMonth(){return month;}
    public void setYear(int year){
        this.year = year;
    }
    public void setMonth(int month){this.month = month;}
    public void setDay(int day){this.day = day;}
    public void setFlag(int flag ){this.flag = flag;}

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }
}
